<template>
	<view>
		<web-view :webview-styles="webviewStyles" :src="src"></web-view>
	</view>
</template>

	
<script>
	export default {
		data(){
			return {
				src: '',
				webviewStyles: {
					progress: {
						color: '#FF3333'
					}
				}
			}
		},
		onLoad: function(option) {
		
			 
				
		    let src = JSON.parse(decodeURIComponent(option.src)),
				title = JSON.parse(decodeURIComponent(option.title));
				uni.setNavigationBarTitle({
				　　title: title
				})
			this.src = src;
		}
	
	}
</script>
<style>
</style>
